<?php 
//main class to extend usage
require 'Remodel.class.php';

//loading library predis: https://github.com/nrk/predis
require __DIR__.'/../../predis-1.1/autoload.php';
Predis\Autoloader::register();

///MODEL EXAMPLE
class  PostrModel extends Remodel {

    protected $_table_name  = 'posts';
    protected $_primary_key = 'id_post';

    //NOT MANDATORY but recommended
    protected $_fields = array( 'id_post',
                                'title',
                                'description',
                                'created',
                                'status',        
                                );
}